﻿namespace lDal
{
    public interface lBaseDal<T>
    {
        Task<int> AddAsync(T T);

        Task<int> AddRangeAsync(List<T> list);

        Task<int> RemoveAsync(T T);

        Task<int> RemoveRangeAsync(List<T> list);

        Task<int> UpdateAsync(T T);

        Task<int> UpdateRangeAsync(List<T> list);

        IQueryable<T> GetList();
    }
}
